package com.scalar.chiptrack.calendar.forms;


import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionErrors;
import com.scalar.chiptrack.ChipTrackActionForm;
import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;

/**
 * Created by Veeru.
 * Date: Jul 29, 2004
 * Time: 2:10:46 PM
 */

public class CalendarForm extends ChipTrackActionForm
{
     private String         Year;              //  stores year information
     private String         FirstDay;          //  stores first day information
     private String         LastDay;           //  stores last day information
     private int            NOP;               //  stores Number of periods information
     private String         NewYear;           //  stores New year
     private ArrayList      PeriodList = new ArrayList();        //  stores periods information
     private int            JITWindow;

     private String workWeekDate;
     private String workWeek;
    private String wwStartDate;

     public String getYear() {
         return Year;
     }

     public void setYear(String year) {
         this.Year = year;
     }

     public String getFirstDay() {
         return FirstDay;
     }

     public void setFirstDay(String firstDay) {
         this.FirstDay = firstDay;
     }

     public String getLastDay() {
         return LastDay;
     }

     public void setLastDay(String lastDay) {
         this.LastDay = lastDay;
     }

     public int getNumberOfPeriods() {
         return NOP;
     }

     public void setNumberOfPeriods(int NOP) {
         this.NOP = NOP;
     }

     public String getNewYear() {
         return NewYear;
     }

     public void setNewYear(String newYear) {
         this.NewYear = newYear;
     }


     public ArrayList getPeriodList() {
         return PeriodList;
     }

     public void setPeriodList(ArrayList periodlist) {
         this.PeriodList = periodlist;
     }
     public int getJITWindow()
     {
         return JITWindow;
     }
     public void setJITWindow( int JITWindow )
     {
         this.JITWindow = JITWindow;
     }

    public String getWorkWeekDate() {
        return workWeekDate;
    }

    public void setWorkWeekDate(String workWeekDate) {
        this.workWeekDate = workWeekDate;
    }

    public String getWorkWeek() {
        return workWeek;
    }

    public void setWorkWeek(String workWeek) {
        this.workWeek = workWeek;
    }

    public ActionErrors validate(ActionMapping mapping,
                                 HttpServletRequest request) {

        ActionErrors errors = new ActionErrors();

        return errors;

    }

    public String getWwStartDate() {
        return wwStartDate;
    }

    public void setWwStartDate(String wwStartDate) {
        this.wwStartDate = wwStartDate;
    }
}


